<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path
			+ "/";
%>
<%@ include file="userinfo.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/transitional.dtd">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>第一部分 地方调查（省市县三级地方）</title>
		<meta http-equiv="Content-Type" content="text/html charset=UTF-8">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="css/main.css">
		<link rel="stylesheet" type="text/css" href="css/survey.css">
		<script type="text/javascript" src="js/lib/jquery-1.9.1.min.js"></script>
		<script type="text/javascript" src="js/local_survey.js"></script>
		<script type="text/javascript">
			$(function(){
				var param = ${requestScope.param};
				if(param){
					alert("提交成功!");
				} 
				if(!param){
					alert("提交失败!");
				}
			});
		</script>
	</head>
	<body>
	<form action="servlet/LocalSurveyServlet"  name="localSurvey" method="post">
	<input type="hidden" name="flag" value="2">
	<input type="hidden" value="${userBo.user.username}" id="hiddenname">
		<div class="title-container">
			<div class="title">
				地方调查（省市县三级地方）
			</div>
		</div>
		<c:set var="firstFillBlank" value="${localSurveyBo.firstFillBlankModel}"></c:set>
		<div class="container">
			<div class="blank-container">
				<div class="blank-fill">
					一、从事电子政务工作的公务员队伍人数共
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0101" value="${firstFillBlank.item0101}">
					人，其中专职的
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0102" value="${firstFillBlank.item0102 }">
					人，从事电子政务技术服务的信息中心有
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0103" value="${firstFillBlank.item0103 }">
					个，事业编制的专业技术人员有
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0104" value="${firstFillBlank.item0104 }">
					人。
				</div>
				<div class="blank-fill">
					二、部门电子政务机房有
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0201" value="${firstFillBlank.item0201 }">
					个，总共
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d\.]/g,'')" name="item0202" value="${firstFillBlank.item0202 }">
					平方米， 共
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0203" value="${firstFillBlank.item0203 }">
					台服务器，存储容量共
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d\.]/g,'')" name="item0204" value="${firstFillBlank.item0204 }">
					TB ，网络带宽
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d\.]/g,'')" name="item0205" value="${firstFillBlank.item0205 }">
					MB/s ，互联网出口带宽
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d\.]/g,'')" name="item0206" value="${firstFillBlank.item0206 }">
					MB/s ，有局域网的政务部门
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0207" value="${firstFillBlank.item0207 }">
					个，政务部门间互联互通的局域网
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0208" value="${firstFillBlank.item0208 }">
					个。
				</div>
				<div class="blank-fill">
					三、本地信息化软硬件资产总额
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d\.]/g,'')" name="item0301" value="${firstFillBlank.item0301 }">
					万元，年度系统运维资金总额为
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d\.]/g,'')" name="item0302" value="${firstFillBlank.item0302 }">
					万元
				</div>
				<div class="blank-fill">
					四、本地公务员人均拥有电脑
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d\.]/g,'')" name="item0401" value="${firstFillBlank.item0401 }">
					台，乡镇（街道）和社区（行政村）工作人员人均拥有电脑
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d\.]/g,'')" name="item0402" value="${firstFillBlank.item0402 }">
					台。
				</div>
				<div class="blank-fill">
					五、本地
					<input class="blank-answer" name="item0501" id="item0501" value="${firstFillBlank.item0501 }">
					组织开展电子政务发展水平评估（年度），
					<input class="blank-answer" name="item0502" id="item0502" value="${firstFillBlank.item0502 }">
					开展信息共享和业务协同的专项评估（年度），
					<input class="blank-answer" name="item0503" id="item0503" value="${firstFillBlank.item0503 }">
					进行政府网站发展的专项评估（年度）。
				</div>
				<div class="blank-fill">
					六、本地近三年组织政务部门使用电子政务应用培训
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0601" value="${firstFillBlank.item0601 }">
					人次，组织乡镇（街道）和社区（行政村）工作人员电子政务应用培训
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0602" value="${firstFillBlank.item0602 }">
					人次。
				</div>
				<div class="blank-fill" style="display: ${sessionScope.userBo.userLevel==3?'block':'none'};">
					七、本地乡镇
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0701" value="${firstFillBlank.item0701 }">
					个，本次参与调查的乡镇
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0702" value="${firstFillBlank.item0702 }">
					个,街道
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0703" value="${firstFillBlank.item0703 }">
					个，本次参与调查的街道
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0704" value="${firstFillBlank.item0704 }">
					个，社区
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0705" value="${firstFillBlank.item0705 }">
					个，本次参与调查的社区
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0706" value="${firstFillBlank.item0706 }">
					个，行政村
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0707" value="${firstFillBlank.item0707 }">
					个，本次参与调查的行政村
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0708" value="${firstFillBlank.item0708 }">
					个。在《关于开展依托电子政务平台加强县级政府政务公开和政务服务试点工作意见的通知》（国函办【2011】99号）中所确定的295项行政职权事项在乡镇（街道）实现电子政务在线办理的
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0709" value="${firstFillBlank.item0709 }">
					项，在社区（行政村）实现电子政务在线办理的
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0710" value="${firstFillBlank.item0710 }">
					项。请将相关结果汇总填入以下调查表：
				</div>
			</div>
			<div class="grid-container" style="display: ${sessionScope.userBo.userLevel==3?'block':'none'};">
				<table class="grid">
					<tr>
						<th>
							序号
						</th>
						<th>
							服务事项
						</th>
						<th>
							乡镇(街<br/>道)数
						</th>
						<th>
							社区(行<br/>政村)数
						</th>
					</tr>
					<c:forEach var="servicesanswer" items="${localSurveyBo.servicessum}">
						<tr>
							<td class="grid-id">
								${servicesanswer.servicesid }
								<input value="${servicesanswer.id }" name="id" type="hidden">
							</td>
							<td>
								${servicesanswer.services }
							</td>
							<td>
								<input type="text"  value="${servicesanswer.town }" name="town"  class="second-blank-answer first-services" maxlength="6">
							</td>
							<td>
								<input type="text" value="${servicesanswer.community }" name="community"  class="second-blank-answer first-services" maxlength="6">
							</td>
						</tr>
					</c:forEach>
				</table>
			</div>
			<div class="blank-container">
				<div class="blank-fill">
					${sessionScope.userBo.userLevel==3?'八':'七'}、部门主要业务信息化覆盖情况：调查政务部门32
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" type="hidden" name="item0801" value="${firstFillBlank.item0801 }">
					个，本地方
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0802" value="${firstFillBlank.item0802 }">
					个政务部门参与调查。调查了
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0803" value="${firstFillBlank.item0803 }">
					处室，
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0804" value="${firstFillBlank.item0804 }">
					个处室的业务工作实现信息化的支撑，其中实现信息化支撑的部门
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0805" value="${firstFillBlank.item0805 }">
					个，实现信息化支撑的处室占比例数
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0806" value="${firstFillBlank.item0806 }">
					%。
				</div>
			</div>
			<div class="grid-container">
				<table class="grid">
					<tr>
						<th class="grid-id">
							序号
						</th>
						<th class="grid-department">
							部门
						</th>
						<th class="grid-rate">
							比例
						</th>
						<th class="grid-id">
							序号
						</th>
						<th class="grid-department">
							部门
						</th>
						<th class="grid-rate">
							比例
						</th>
						<th class="grid-id">
							序号
						</th>
						<th class="grid-department">
							部门
						</th>
						<th class="grid-rate">
							比例
						</th>
					</tr>
					<c:forEach var="inforRateGrid" varStatus="status" items="${localSurveyBo.inforRateGrid}">
						<c:choose>
							<c:when test="${status.index%3==0}">
								<tr>
									<td class="grid-id">
										<input type="hidden" name="departmentId" value="${inforRateGrid.departmentId }">
										${status.index + 1}
									</td>
									<td class="grid-department">
										${inforRateGrid.departmentName}
									</td>
									<td class="grid-rate">
										<input type="text" class="first-blank-answer" value="${inforRateGrid.rate}" name="rate">%
									</td>
							</c:when>
							<c:when test="${status.index%3==1}">
								<td class="grid-id">
									<input type="hidden" name="departmentId" value="${inforRateGrid.departmentId }">
									${status.index + 1}
								</td>
								<td class="grid-department">
									${inforRateGrid.departmentName}
								</td>
								<td class="grid-rate">
									<input type="text" class="first-blank-answer" value="${inforRateGrid.rate}" name="rate">%
								</td>
								<c:if test="${status.last}">
									<td colspan="3"></td>
									</tr>
								</c:if>
							</c:when>
							<c:when test="${status.index%3==2}">
								<td class="grid-id">
									<input type="hidden" name="departmentId" value="${inforRateGrid.departmentId }">
									${status.index + 1}
								</td>
								<td class="grid-department">
									${inforRateGrid.departmentName}
								</td>
								<td class="grid-rate">
									<input type="text" class="first-blank-answer" value="${inforRateGrid.rate}" name="rate">%
								</td>
								</tr>
							</c:when>
						</c:choose>
					</c:forEach>
				</table>
			</div>
			<div class="blank-container">
				<div class="blank-fill">
					${sessionScope.userBo.userLevel==3?'九':'八'}、调查部门
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0901" value="${firstFillBlank.item0901 }">
					个，本地方参与调查部门
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0902" value="${firstFillBlank.item0902 }">
					个，调查信息
					<input class="blank-answer" onkeyup="value=value.replace(/[^\d]/g,'')" name="item0903" value="${firstFillBlank.item0903 }">
					项，在信息获取方式中最多采用的方式是
					<c:choose>
						<c:when test="${fn:contains(firstFillBlank.item0904, 'A')}">
							<input type="checkbox" name="item0904" value="A" checked="checked">
						</c:when>
						<c:otherwise>
							<input type="checkbox" name="item0904" value="A">
						</c:otherwise>
					</c:choose>
					信息共享平台
					<c:choose>
						<c:when test="${fn:contains(firstFillBlank.item0904, 'B')}">
							<input type="checkbox" name="item0904" value="B" checked="checked">
						</c:when>
						<c:otherwise>
							<input type="checkbox" name="item0904" value="B">
						</c:otherwise>
					</c:choose>
					政府网站
					<c:choose>
						<c:when test="${fn:contains(firstFillBlank.item0904, 'C')}">
							<input type="checkbox" name="item0904" value="C" checked="checked">
						</c:when>
						<c:otherwise>
							<input type="checkbox" name="item0904" value="C">
						</c:otherwise>
					</c:choose>
					移动介质（光盘等）。 各部门获得其他部门信息具体情况请汇总填写下表：
				</div>
			</div>
			<div class="grid-container">
				<table class="grid">
					<tr>
						<th>
							序号
						</th>
						<th>
							部门
						</th>
						<th>
							信息内容
						</th>
						<th>
							共享部门数
						</th>
					</tr>
					<c:set var="superCount" value="0"></c:set>
					<c:forEach var="shareDepartment" items="${localSurveyBo.shareTotleGrid}">
						<c:set var="listSize" value="${fn:length(shareDepartment.shareTotle)}"></c:set>
						<c:set var="count" value="0"></c:set>
						<c:forEach var="information" items="${shareDepartment.shareTotle}">
							<c:choose>
								<c:when test="${count == 0}">
									<c:set var="superCount" value="${superCount+1}"></c:set>
									<tr>
										<td class="grid-id">
											${superCount}
											<input type="hidden" name="servicesId" value="${information.servicesId}">
										</td>
										<td class="grid-department" rowspan="${listSize}">
											${shareDepartment.department}
										</td>
										<td class="grid-content">
											${information.servicesName}
										</td>
										<td class="grid-totle">
											<input type="text" maxlength="3" onkeyup="value=value.replace(/[^\d]/g,'')" class="grid-blank-answer" value="${information.count }" name="count">
										</td>
									</tr>
								</c:when>
								<c:when test="${count > 0}">
									<c:set var="superCount" value="${superCount+1}"></c:set>
									<tr>
										<td class="grid-id">
											${superCount}
											<input type="hidden" name="servicesId" value="${information.servicesId}">
										</td>
										<td class="grid-content">
											${information.servicesName}
										</td>
										<td class="grid-totle">
											<input type="text" maxlength="3" onkeyup="value=value.replace(/[^\d]/g,'')" class="grid-blank-answer" value="${information.count }" name="count">
										</td>
									</tr>
								</c:when>
							</c:choose>
							<c:set var="count" value="${count+1}"></c:set>
						</c:forEach>
					</c:forEach>
				</table>
			</div>
			<div class="button-container">
				<input class="submit" type="submit" value="保存提交" />
			</div>
		</div>
		<div class="slid-button" id='dw'>
			<img id = "next" src="images/bulb_off_64.png" title="下级"><br>
			<img id = "print" src="images/document_64.png" title="打印"><br>
			<img src="images/arrow_up_64.png" id="uw" onclick="javascript:scroll(0,0);" title="顶部"><br>
			<img src="images/checkmark_64.png" id="button2" title="临时保存"><br>
			<img src="images/arrow_down_64.png" onclick="javascript:scroll(0,80000);" title="底部">
		</div>
	</form>
	</body>
</html>